commonlibsse_ng\re\b/
BSIInputDevice.rs1use crate::re::BSFixedString::BSFixedString;
2use crate::re::offsets_rtti::RTTI_BSIInputDevice;
3use crate::re::offsets_vtable::VTABLE_BSIInputDevice;
4use crate::rel::id::VariantID;
5
6#[repr(C)]
7#[derive(Debug, PartialEq)]
8pub struct BSIInputDevice {
9 pub vtable: *const BSIInputDeviceVtbl, }
11const _: () = assert!(core::mem::size_of::<BSIInputDevice>() == 0x8);
12
13impl BSIInputDevice {
14 pub const RTTI: VariantID = RTTI_BSIInputDevice;
16
17 pub const VTABLE: [VariantID; 1] = VTABLE_BSIInputDevice;
19}
20
21pub struct BSIInputDeviceVtbl {
22 pub CxxDrop: unsafe extern "C" fn(this: *mut BSIInputDevice), pub Initialize: unsafe extern "C" fn(this: *mut BSIInputDevice), pub Process: unsafe extern "C" fn(this: *mut BSIInputDevice, arg1: f32), pub Release: unsafe extern "C" fn(this: *mut BSIInputDevice), pub GetKeyMapping:
27 unsafe extern "C" fn(this: *mut BSIInputDevice, key: u32, mapping: &mut BSFixedString), pub GetMappingKey: unsafe extern "C" fn(this: *mut BSIInputDevice, mapping: &mut BSFixedString), pub GetMappingKeyCode:
30 unsafe extern "C" fn(this: *mut BSIInputDevice, key: u32, out_key_code: &mut u32), pub IsEnabled: unsafe extern "C" fn(this: *const BSIInputDevice), pub Reset: unsafe extern "C" fn(this: *mut BSIInputDevice), }